package com.wshoto.ocean.bootstrap.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * RestTemplate配置属性
 *
 * @author Lee
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "spring.rest")
public class RestTemplateProperties {

    /**
     * 连接超时时间
     */
    private Integer connectionTimeout = 5000;

    /**
     * 读取超时时间
     */
    private Integer readTimeout = 5000;

}
